<template>
    <div >
      <el-card style="background-color: #3C3F41; color: #9E9F9F; border: 5px groove #b15b2e;padding:3px">
        <div slot="header" class="clearfix">
          <span>联动测试</span>

        </div>
      <el-row>
        <el-col>
          <el-button type="primary" @click="unit_test">开始测试</el-button>
        </el-col>
        <el-col>

        </el-col>
      </el-row>

      </el-card>

    </div>
</template>

<script>
  import { mapState } from 'vuex'

    export default {
        name: "SocketConsole",
        data(){
          return {

          }
        },
      components: {

      },
      computed: {
          ...mapState([
            'ws'
          ])
      },
      methods: {
         unit_test(){
           this.ws.send("unitTest")
         }
        }
    }
</script>

<style scoped>

</style>
